package com.xian.im.common.model.rule;

import lombok.Data;

/**
 * @program: xian-code
 * @description:  服务节点
 * @author: liru.xian
 * @create: 2021-01-18 19:48
 **/
@Data
public class IRuleServerNode {
    private String host;
    private String port;


    public IRuleServerNode(){}

    public IRuleServerNode(String server){
        String[] split = server.split(";");
        this.host = split[0];
        this.port = split[1];
    }
}
